#pragma once
#include "../common/common.h"
#include "../session/session.h"

namespace ArrowWebCodeView
{

class CAccept
{
public:
    CAccept(asio::io_context& ioContext, const tcp::endpoint& tcpEndPoint);
    virtual ~CAccept();
    
private:
    void DoAccept();
private:
    asio::io_context& m_IoContext;
    tcp::acceptor m_Acceptor;
    tcp::socket m_Socket;
};

}